/**
 * 
 */
package agents.persons.leader;

import org.apache.log4j.Logger;

import jade.core.Agent;
import jade.core.behaviours.OneShotBehaviour;
import log.Action;
import log.ContadorEventos;

/**
 * @author Administrador
 *
 */
public class StaySafePlaceBehaviour extends OneShotBehaviour{

	static Logger logger = Logger.getLogger(LeaderAgent.class);
	
	public StaySafePlaceBehaviour(Agent a){
		super(a);
	}
	
	public void action() {
		logger.info(ContadorEventos.addEvent("", Action.PERMANECER_EN_LUGAR_SEGURO, ""));
	}
	
	public int onEnd(){
		return 10;
	}

}
